clk: bcm2835: Limit PCM clock to OSC and PLLD_PER
authorPhil Elwell <phil@raspberrypi.org>
Wed, 26 Apr 2017 16:28:47 +0000 (17:28 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Thu, 15 Feb 2018 17:37:09 +0000 (17:37 +0000)
commit769ac03b9a2a4599cd6a0d1067dc1a5cad53fbe1
tree965b98163c1356f3101287cc68ebd13df54f4254
parent9c2f26c793ef2f26307903b4e34f30efab129386
clk: bcm2835: Limit PCM clock to OSC and PLLD_PER

It is unwise to use sources other than the oscillator and PLLD_PER for
the PCM peripheral (and perhaps others - TBD) because their rate can
change and they may even be switched off, so explicitly restrict the
choice using dummy entries in the list of potential parents (item index
is significant).

See: https://github.com/raspberrypi/linux/issues/1949

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
drivers/clk/bcm/clk-bcm2835.c